(AB-538641) Clarify Expand-Archive only applies to zip files#12916
Conversation
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 7bc441a: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Pull request overview
Clarifies the Expand-Archive documentation to explicitly state it only supports ZIP (.zip) archives, and aligns wording across multiple versioned reference docs.
Changes:
- Add a statement that
Expand-Archiveonly works with ZIP archives (typically.zip). - Update the synopsis in some versions to say “ZIP archive file” instead of “archive (zipped) file”.
- Add/standardize additional explanatory text about the underlying .NET ZIP API in some versions.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| reference/7.6/Microsoft.PowerShell.Archive/Expand-Archive.md | Adds ZIP-only clarification plus additional ZIP API details. |
| reference/7.5/Microsoft.PowerShell.Archive/Expand-Archive.md | Updates synopsis to “ZIP archive file” and adds ZIP-only clarification plus ZIP API details. |
| reference/7.4/Microsoft.PowerShell.Archive/Expand-Archive.md | Adds ZIP-only clarification to existing description section. |
| reference/5.1/Microsoft.PowerShell.Archive/Expand-Archive.md | Updates synopsis to “ZIP archive file” and adds ZIP-only clarification plus ZIP API details. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Summary
This change fixes AB#538641 by clarifying that the
Expand-Archivecmdlet only applies to.zipfiles. It also makes the description and synopsis consistent.PR Checklist